package org.nuonuo.sdk.model.base;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @Version 1.0
 * @Author az
 * @Date 2024-04-01 13:55:39
 * @ClassName ReqLog
 * @Description
 */
public class NLog {
    /**
     * 请求接口名称
     */
    private String name;
    /**
     * 请求接口
     */
    private String url;
    /**
     * 请求方法
     */
    private String method;
    /**
     * 请求头
     */
    private Object headers;
    /**
     * 请求参数
     */
    private Map<String, Object> params;
    /**
     * 请求体
     */
    private Object payload;
    /**
     * 响应体
     */
    private Object response;

    /**
     * 请求时间
     */
    private LocalDateTime reqTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Object getHeaders() {
        return headers;
    }

    public void setHeaders(Object headers) {
        this.headers = headers;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public Object getPayload() {
        return payload;
    }

    public void setPayload(Object payload) {
        this.payload = payload;
    }

    public Object getResponse() {
        return response;
    }

    public void setResponse(Object response) {
        this.response = response;
    }

    public LocalDateTime getReqTime() {
        return reqTime;
    }

    public void setReqTime(LocalDateTime reqTime) {
        this.reqTime = reqTime;
    }
}
